<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>患者评价主页</title>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
    <style type="text/css">
    </style>

</head>
<body>
<div align="center">
    <h1>感谢您的评价！</h1>
    <a href="patientEval.jsp"><span id="seconds"></span>秒后系统会自动跳转，也可点击本处直接跳</a></div>
</div>
<script type="text/javascript">
    setTimeout(function () {
        window.location.href = "patientEval.jsp";
    }, 5000);
    var s = 5;
    setInterval(function () {
        $("#seconds").text(s);
        s = s-1;
    }, 1000);
</script>
</body>
</html>